package org.springframework.example.t0830.factory;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.example.t0830.service.User;
import org.springframework.stereotype.Component;

@Component
public class MyFactoryBean implements FactoryBean<User> {
	@Override
	public User getObject() throws Exception {
		return new User();
	}

	@Override
	public Class<?> getObjectType() {
		return User.class;
	}
}
